//
//  ViewController.m
//  BBT
//
//  Created by JoyWang on 14-7-2.
//  Copyright (c) 2014年 tiewang. All rights reserved.
//

#import "ViewController.h"
#import "TKCalendarMonthView.h"
#import "GradientView.h"
#import "CalendarMonthView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    GradientView *shadow =[[GradientView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetHeight(self.view.bounds), 20)];
    shadow.backgroundColor = [UIColor clearColor];
    shadow.colors = @[[UIColor colorWithWhite:1 alpha:0],[UIColor colorWithWhite:1 alpha:0.7]];
    [self.view addSubview:shadow];
    
    
    CalendarMonthView *monthView = [[CalendarMonthView alloc] initWithSundayAsFirst:YES timeZone:[NSTimeZone systemTimeZone]];

    [self.view addSubview:monthView];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
